Integration by substitution method